<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户列表界面</title>
</head>
<body>
  <table>
    <thead>
      <tr>
        <th>用户名</th>
        <th>密码</th>
        <th>年龄</th>
      </tr>
    </thead>

    <tbody>
      <tr th:each="item,info:${list}">
        <td th:text="${info}"></td>
        <td th:text="${info.count}"></td>
        <td th:text="${item.username}"></td>
        <td th:text="${item.password}"></td>
        <td th:text="${item.age}"></td>
      </tr>
    </tbody>
  </table>
</body>
</html>